#include <malloc.h>
#include <string.h>
#include <Dict.h>
#include "Object.h"
#include "Type.h"
void initObject(Object* self, Type* type) {
	self->type = type;
}

Object* object_allocate(Object* type){
    Object* temp = (Object*)malloc(sizeof(Object));
    memset(temp,0,sizeof(Object));
    temp->dict=dict_allocate_const();
    temp->type=type;
    return temp;
}

